Part Number Hot Search : 
25FL032 CX162 HK160 1N2133AR CY62136V 09CC0W 1E220 88EM8010
Product Description
Full Text Search
 

To Download WM8774 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  WM8774 24-bit, 192khz 8-channel input stereo codec wolfson microelectronics ltd w :: www.wolfsonmicro.com product preview, june 2002, rev 1.0 copyright ? 2002 wolfson microelectronics ltd. description the WM8774 is a high performance, stereo audio codec with an 8 channel input selector. the WM8774 is ideal for surround sound processing applications for home hi-fi, automotive and other audio visual equipment. a stereo 24-bit multi-bit sigma delta adc is used with an eight stereo channel input selector. each channel has analogue domain mute and programmable gain control. digital audio output word lengths from 16-32 bits and sampling rates from 8khz to 96khz are supported. a stereo 24-bit multi-bit sigma delta dac is used with oversampling digital interpolation filters. digital audio input word lengths from 16-32 bits and sampling rates from 8khz to 192khz are supported. each dac channel has independent analogue volume and mute control, with a set of input multiplexors allowing selection of an external analogue input into these volume controls. the audio data interface supports i 2 s, left justified, right justified and dsp digital audio formats. the device is controlled via a 3 wire serial interface. the interface provides access to all features including channel selection, volume controls, mutes, de-emphasis and power management facilities. the device is available in a 64-pin tqfp package. features ? audio performance ? 106db snr (?a? weighted @ 48khz) dac ? 101db snr (?a? weighted @ 48khz) adc ? dac sampling frequency: 8khz ? 192khz ? adc sampling frequency: 8khz ? 96khz ? 3-wire spi compatible serial control interface ? master or slave clocking mode ? programmable audio data interface modes ? i 2 s, left, right justified or dsp ? 16/20/24/32 bit word lengths ? stereo dac with independent analogue and digital volume controls ? analogue bypass path feature ? selectable aux input to the volume controls ? eight stereo adc inputs with analogue gain adjust from +19db to ?12db in 1db steps ? 2.7v to 5.5v analogue, 2.7v to 3.6v digital supply operation ? 5v tolerant digital inputs applications block diagram ? surround sound av processors and hi-fi systems ? automotive audio voutl voutr stereo adc agnd avdd vmidadc audio interface and digital filters adclrc bclk daclrc din dout stereo dac input source selector ain2r ain3l ain3r ain4l ain4r ain5l ain5r ain6l ain6r recl recr ainopr ainopl ainvgr ainvgl refadc dacrefp1 dacrefn2 dvdd dgnd control interface auxl auxr di ce cl resetb mclk ain2l ain1r ain1l ain7l ain7r ain8l ain8r  WM8774 zflagl zflagr mute low pass filters gr1 gr2 agnd2 avdd2 vmiddac
WM8774 product preview   pp rev 1.0 june 2002 2 pin configuration ordering information device temp. range package WM8774ift/v -40 to +85 o c 64-pin tqfp avdd1 vmidadc agnd1 auxl ainopr ainvgl ainvgr recl recr ain1l ain4l ain3r ain3l ain2r ain2l ain1r ain4r ain5l ain6l resetb bclk mclk cl di ce nc nc nc daclrc adclrc nc nc nc dacrefp2 nc nc gr2 nc vmiddac 1 9 8 7 6 5 4 3 2 11 10 21 22 23 24 25 26 27 18 19 20 41 40 39 38 37 36 43 42 64 63 62 61 60 59 58 17 57 56 55 54 35 34 33 ainopl ain5r refadc zflagl zflagr dvdd dout din 53 52 51 50 49 nc nc nc nc auxr dacrefp1 avdd2 voutl voutr ain6r ain7l ain7r ain8r 14 13 12 16 15 ain8l gr1 28 29 30 31 32 46 45 44 48 47 agnd2 dgnd
product preview WM8774   pp rev 1.0 june 2002 3 pin description pin name type description 1 ain1l analogue input channel 1 left input multiplexor virtual ground 2 ain1r analogue input channel 1 right input multiplexor virtual ground 3 ain2l analogue input channel 2 left input multiplexor virtual ground 4 ain2r analogue input channel 2 right input multiplexor virtual ground 5 ain3l analogue input channel 3 left input multiplexor virtual ground 6 ain3r analogue input channel 3 right input multiplexor virtual ground 7 ain4l analogue input channel 4 left input multiplexor virtual ground 8 ain4r analogue input channel 4 right input multiplexor virtual ground 9 ain5l analogue input channel 5 left input multiplexor virtual ground 10 ain5r analogue input channel 5 right input multiplexor virtual ground 11 ain6l analogue input channel 6 left input multiplexor virtual ground 12 ain6r analogue input channel 6 right input multiplexor virtual ground 13 ain7l analogue input channel 7 left input multiplexor virtual ground 14 ain7r analogue input channel 7 right input multiplexor virtual ground 15 ain8l analogue input channel 8 left input multiplexor virtual ground 16 ain8r analogue input channel 8 right input multiplexor virtual ground 17 ainopl analogue output left channel multiplexor output 18 ainvgl analogue input left channel multiplexor virtual ground 19 ainvgr analogue input right channel multiplexor virtual ground 20 ainopr analogue output right channel multiplexor output 21 recl analogue output left channel input mux select output 22 recr analogue output right channel input mux select output 23 refadc analogue output adc reference buffer decoupling pin; 10uf external decoupling 24 vmidadc analogue output adc midrail divider decoupling pin; 10uf external decoupling 25 agnd1 supply analogue negative supply and substrate connection 26 avdd1 supply analogue positive supply 27 auxl analogue input multiplexor channel left virtual ground input 28 auxr analogue input 3.1 multiplexor channel right virtual ground input 29 nc no connection 30 nc no connection 31 nc no connection 32 nc no connection 33 avdd2 supply analogue positive supply 34 voutl analogue output dac channel 1 left output 35 voutr analogue output dac channel 1 right output 36 dacrefp1 supply dac positive reference supply 37 nc no connection 38 gr1 supply dac ground reference 39 nc no connection 40 vmiddac analogue output dac midrail decoupling pin ; 10uf external decoupling 41 nc no connection 42 gr2 supply dac ground reference 43 nc no connection 44 dacrefp2 supply dac positive reference supply 45 nc no connection 46 nc no connection 47 agnd2 supply analogue negative supply and substrate connection 48 dgnd supply digital negative supply 49 dvdd supply digital positive supply
WM8774 product preview   pp rev 1.0 june 2002 4 pin name type description 50 zflagl digital output dac zero flag output 51 zflagr digital output dac zero flag output 52 dout digital output adc data output 53 din digital input dac channel 1 data input 54 nc no connection 55 nc no connection 56 nc no connection 57 daclrc digital input/output dac left/right word clock 58 adclrc digital input/output adc left/right word clock 59 bclk digital input/output adc and dac audio interface bit clock 60 mclk digital input master dac and adc clock; 256, 384, 512 or 768fs (fs = word clock frequency) 61 cl digital input serial interface clock (5v tolerant) 62 di digital input serial interface data (5v tolerant) 63 ce digital input serial interface latch signal (5v tolerant) 64 resetb digital input device reset input (mutes dac outputs, resets gain stages to 0db) (5v tolerant) note : digital input pins have schmitt trigger input buffers and are 5v tolerant.
product preview WM8774   pp rev 1.0 june 2002 5 absolute maximum ratings absolute maximum ratings are stress ratings only. permanent damage to the device may be caused by continuously operating at or beyond these limits. device functional operating limits and guaranteed performance specifications are given under electrical characteristics at the test conditions specified. esd sensitive device. this device is manufactured on a cmos process. it is therefore generically susceptible to damage from excessive static voltages. proper esd precautions must be taken during handling and storage of this device. condition min max digital supply voltage -0.3v +3.63v analogue supply voltage -0.3v +7v voltage range digital inputs (di, cl, ce & r esetb) dgnd -0.3v +7v voltage range digital inputs (mclk, din[3:0], adclrc, daclrc & bclk) dgnd -0.3v dvdd + 0.3v voltage range analogue inputs agnd -0.3v avdd +0.3v master clock frequency 37mhz operating temperature range, t a -40 c +85 c storage temperature -65 c +150 c package body temperature (soldering 10 seconds) +240 c package body temperature (soldering 2 minutes) +183 c notes: 1. analogue and digital grounds must always be within 0.3v of each other.
WM8774 product preview   pp rev 1.0 june 2002 6 recommended operating conditions parameter symbol test conditions min typ max unit digital supply range dvdd 2.7 3.6 v analogue supply range avdd 2.7 5.5 v ground agnd, dgnd 0 v difference dgnd to agnd -0.3 0 +0.3 v note: digital supply dvdd must never be more than 0.3v greater than avdd. electrical characteristics test conditions avdd = 5v, dvdd = 3.3v, agnd = 0v, dgnd = 0v, t a = +25 o c, fs = 48khz, mclk = 256fs unless otherwise stated. parameter symbol test conditions min typ max unit digital logic levels (ttl levels) input low level v il 0.8 v input high level v ih 2.0 v output low v ol i ol =1ma 0.1 x dvdd v output high v oh i oh -1ma 0.9 x dvdd v analogue reference levels reference voltage v vmid avdd/2 ? 50mv avdd/2 avdd/2 + 50mv v potential divider resistance r vmid avdd to vmid and vmid to agnd 40k 50k 60k ohms dac performance (load = 10k ohms, 50pf) 0dbfs full scale output voltage 1.0 x avdd/5 vrms snr (note 1,2) a-weighted, @ fs = 48khz 104 106 db snr (note 1,2) a-weighted @ fs = 96khz 106 db dynamic range (note 2) dnr a-weighted, -60db full scale input 104 106 db total harmonic distortion (thd) 1khz, 0dbfs -97 -90 db dac channel separation 100 db dac analogue volume gain step size 0.5 1 1.5 db dac analogue volume gain range 1khz input -100 0 db dac analogue volume mute attenuation 1khz input, 0db gain 100 db 1khz 100mvpp 50 db power supply rejection ratio psrr 20hz to 20khz 100mvpp 45 db adc performance input signal level (0db) 1.0 x avdd/5 vrms snr (note 1,2) a-weighted, 0db gain @ fs = 48khz 93 102 db snr (note 1,2) a-weighted, 0db gain @ fs = 96khz 98 db dynamic range (note 2) a-weighted, -60db full scale input 102 db khz, 0dbfs -90 -80 db total harmonic distortion (thd) 1khz, -3dbfs -95 -85 db
product preview WM8774   pp rev 1.0 june 2002 7 test conditions avdd = 5v, dvdd = 3.3v, agnd = 0v, dgnd = 0v, t a = +25 o c, fs = 48khz, mclk = 256fs unless otherwise stated. parameter symbol test conditions min typ max unit adc channel separation 1khz input 90 db programmable gain step size 0.5 1.0 1.5 db programmable gain range 1khz input -12 +19 db mute attenuation 1khz input, 0db gain 97 db 1khz 100mvpp 50 db power supply rejection ratio psrr 20hz to 20khz 100mvpp 45 db analogue input (ain) to analogue output (vout) (load=10k ohms, 50pf, gain = 0db) bypass mode 0db full scale output voltage 1.0 x avdd/5 vrms snr (note 1) 90 100 db 1khz, 0db -90 db thd 1khz, -3db -95 db 1khz 100mvpp 50 db power supply rejection ratio psrr 20hz to 20khz 100mvpp 45 db mute attenuation 1khz, 0db 100 db supply current analogue supply current avdd = 5v 100 ma digital supply current dvdd = 3.3v 20 ma notes: 1. ratio of output level with 1khz full scale input, to the output level with all zeros into the digital input, measured ? a ? weighted. 2. all performance measurements done with 20khz low pass filter, and where noted an a-weight filter. failure to use such a filter will result in higher thd+n and lower snr and dynamic range readings than are found in the electrical characteristics. the low pass filter removes out of band noise; although it is not audible it may affect dynamic specification values. 3. vmid decoupled with 10uf and 0.1uf capacitors (smaller values may result in reduced performance). terminology 1. signal-to-noise ratio (db) - snr is a measure of the difference in level between the full scale output and the output with no signal applied. (no auto-zero or automute function is employed in achieving these results). 2. dynamic range (db) - dnr is a measure of the difference between the highest and lowest portions of a signal. normally a thd+n measurement at 60db below full scale. the measured signal is then corrected by adding the 60db to it. (e.g. thd+n @ -60db= -32db, dr= 92db). 3. thd+n (db) - thd+n is a ratio, of the rms values, of (noise + distortion)/signal. 4. stop band attenuation (db) - is the degree to which the frequency spectrum is attenuated (outside audio band). 5. channel separation (db) - also known as cross-talk. this is a measure of the amount one channel is isolated from the other. normally measured by sending a full scale signal down one channel and measuring the other. 6. pass-band ripple - any variation of the frequency response in the pass-band region.
WM8774 product preview   pp rev 1.0 june 2002 8 master clock timing mclk t mclkl t mclkh t mclky figure 1 master clock timing requirements test conditions avdd = 5v, dvdd = 3.3v, agnd = 0v, agnd, dgnd = 0v, t a = +25 o c, fs = 48khz, mclk = 256fs unless otherwise stated. parameter symbol test conditions min typ max unit system clock timing information mclk system clock pulse width high t mclkh 11 ns mclk system clock pulse width low t mclkl 11 ns mclk system clock cycle time t mclky 28 ns mclk duty cycle 40:60 60:40 table 1 master clock timing requirements digital audio interface ? master mode bclk dout adclrc din daclrc WM8774 codec dvd controller figure 2 audio interface - master mode
product preview WM8774   pp rev 1.0 june 2002 9 bclk (output) dout adclrc/ daclrc (outputs) t dl din t dda t dht t dst figure 3 digital audio data timing ? master mode test conditions avdd = 5v, dvdd = 3.3v, agnd, dgnd = 0v, t a = +25 o c, master mode, fs = 48khz, mclk = 256fs unless otherwise stated. parameter symbol test conditions min typ max unit audio data input timing information adclrc/daclrc propagation delay from bclk falling edge t dl 0 10 ns dout propagation delay from bclk falling edge t dda 0 10 ns din setup time to bclck rising edge t dst 10 ns din hold time from bclk rising edge t dht 10 ns table 2 digital audio data timing ? master mode
WM8774 product preview   pp rev 1.0 june 2002 10 digital audio interface ? slave mode bclk dout adclrc din daclrc WM8774 codec dvd controller figure 4 audio interface ? slave mode bclk daclrc/ adclrc t bch t bcl t bcy din dout t lrsu t ds t lrh t dh t dd figure 5 digital audio data timing ? slave mode test conditions avdd = 5v, dvdd = 3.3v, agnd = 0v, dgnd = 0v, t a = +25 o c, slave mode, fs = 48khz, mclk = 256fs unless otherwise stated. parameter symbol test conditions min typ max unit audio data input timing information bclk cycle time t bcy 50 ns bclk pulse width high t bch 20 ns bclk pulse width low t bcl 20 ns daclrc/adclrc set-up time to bclk rising edge t lrsu 10 ns daclrc/adclrc hold time from bclk rising edge t lrh 10 ns din set-up time to bclk rising edge t ds 10 ns din hold time from bclk rising edge t dh 10 ns dout propagation delay from bclk falling edge t dd 0 10 ns table 3 digital audio data timing ? slave mode note: 1. adclrc and daclrc should be synchronous with mclk, although the WM8774 interface is tolerant of phase variations or jitter on these signals.
product preview WM8774   pp rev 1.0 june 2002 11 mpu interface timing t rcho t rcsu ce cl di t csl t dho t dsu t csh t scy t sch t scl t scs lsb t css resetb figure 6 spi compatible control interface input timing test conditions avdd = 5v, dvdd = 3.3v, agnd, dgnd = 0v, t a = +25 o c, fs = 48khz, mclk = 256fs unless otherwise stated parameter symbol min typ max unit ce to resetb hold time t rcsu 20 ns resetb to cl setup time t rcho 20 ns cl rising edge to ce rising edge t scs 60 ns cl pulse cycle time t scy 80 ns cl pulse width low t scl 30 ns cl pulse width high t sch 30 ns di to cl set-up time t dsu 20 ns cl to di hold time t dho 20 ns ce pulse width low t csl 20 ns ce pulse width high t csh 20 ns ce rising to cl rising t css 20 ns table 4 3 wire spi compatible control interface input timing information
WM8774 product preview   pp rev 1.0 june 2002 12 device description introduction WM8774 is a complete 2-channel dac, 2-channel adc audio codec, with flexible input multiplexor including digital interpolation and decimation filters, multi-bit sigma delta stereo adc, and switched capacitor multi-bit sigma delta dacs with analogue volume controls on each channel and output smoothing filters. it is available in a single package and controlled by a single interface. an analogue bypass path option is available, to allow stereo analogue signals from any of the 8 stereo inputs to be sent to the stereo outputs via the main volume controls. this allows a purely analogue input to analogue output high quality signal path to be implemented if required. the dac and adc have separate left/right clocks and data i/os. however, bitclk and mclk are shared between the adc and dac. the audio interface may be configured to operate in either master or slave mode. in slave mode adclrc, daclrc and bclk are all inputs. in master mode adclrc, daclrc and bclk are outputs. the input multiplexor to the adc is configured to allow large signal levels to be input to the adc, using external resistors to reduce the amplitude of larger signals to within the normal operating range of the adc. the adc input pga also allows input signals to be gained up to +19db and attenuated down to -12db. this allows the user maximum flexibility in the use of the adc. a selectable stereo record output is also provided on recl/r. it is intended that the recl/r outputs are only used to drive a high impedance buffer. the dac has its own analogue and separate digital volume control. the analogue volume control is adjustable in 1db steps and the digital volume control in 0.5db steps. the analogue and digital volume controls may be operated independently. in addition a zero cross detect circuit is provided for both analogue and digital volume controls. when analogue volume zero-cross detection is enabled the attenuation values are only updated when the input signal to the gain stage is close to the analogue ground level. the digital volume control detects a transition through the zero point before updating the volume. this minimises audible clicks and ? zipper ? noise as the gain values change. the dac output incorporates an input selector and mixer allowing an signal to be either switched into the signal path in place of the dac signal or mixed with the dac signal before the volume control. use of external resistors allows larger input levels to be accepted by the device, giving maximum user flexibility. control of internal functionality of the device is by 3-wire serial control interface. an spi type control interface is used, which may be asynchronous to the audio data interface as control data will be re- synchronised to the audio processing internally. ce, cl, di and resetb are 5v tolerant with ttl input thresholds, allowing the WM8774 to used with dvdd = 3.3v and be controlled by a controller with 5v output. operation using system clock of 128fs, 192fs, 256fs, 384fs, 512fs or 768fs is provided. in slave mode selection between clock rates is automatically controlled. in master mode the master clock to sample rate ratio is set by control bits adcrate and dacrate. adc and dac may run at different rates within the constraint of a common master clock for the adc and dacs. for example with master clock at 24.576mhz, a dac sample rate of 96khz (256fs mode) and an adc sample rate of 48khz (512fs mode) can be accommodated. master clock sample rates (fs) from less than 8khz up to 192khz are allowed, provided the appropriate system clock is input. the audio data interface supports right, left and i 2 s interface formats along with a highly flexible dsp serial port interface. audio data sampling rates in a typical digital audio system there is only one central clock source producing a reference clock to which all audio data processing is synchronised. this clock is often referred to as the audio system ? s master clock. the external master system clock can be applied directly through the mclk input pin with no software configuration necessary. in a system where there are a number of possible sources for the reference clock it is recommended that the clock source with the lowest jitter be used to optimise the performance of the adc and dac.
product preview WM8774   pp rev 1.0 june 2002 13 the master clock for WM8774 supports dac and adc audio sampling rates from 256fs to 768fs, where fs is the audio sampling frequency (daclrc or adclrc) typically 32khz, 44.1khz, 48khz or 96khz (the dac also supports operation at 128fs and 192fs and 192khz sample rate). the master clock is used to operate the digital filters and the noise shaping circuits. in slave mode the WM8774 has a master detection circuit that automatically determines the relationship between the master clock frequency and the sampling rate (to within +/- 32 system clocks). if there is a greater than 32 clocks error the interface is disabled and maintains the output level at the last sample. the master clock must be synchronised with adclrc/daclrc, although the WM8774 is tolerant of phase variations or jitter on this clock. table 5 shows the typical master clock frequency inputs for the WM8774. the signal processing for the WM8774 typically operates at an oversampling rate of 128fs for both adc and dac. the exception to this for the dac is for operation with a 128 or 192fs system clock, e.g. for 192khz operation where the oversampling rate is 64fs. for adc operation at 96khz it is recommended that the user set the adcosr bit. this changes the adc signal processing oversample rate to 64fs. system clock frequency (mhz) 128fs 192fs sampling rate (daclrc/ adclrc) dac only 256fs 384fs 512fs 768fs 32khz 4.096 6.144 8.192 12.288 16.384 24.576 44.1khz 5.6448 8.467 11.2896 16.9340 22.5792 33.8688 48khz 6.144 9.216 12.288 18.432 24.576 36.864 96khz 12.288 18.432 24.576 36.864 unavailable unavailable 192khz 24.576 36.864 unavailable unavailable unavailable unavailable table 5 system clock frequencies versus sampling rate in master mode bclk, daclrc and adclrc are generated by the WM8774. the frequencies of adclrc and daclrc are set by setting the required ratio of mclk to daclrc and adclrc using the dacrate and adcrate control bits (table 6). adcrate[2:0]/ dacrate[2:0] mclk:adclrc/daclrc ratio 000 128fs (dac only) 001 192fs (dac only) 010 256fs 011 384fs 100 512fs 101 768fs table 6 master mode mclk:adclrc/daclrc ratio select table 7 shows the settings for adcrate and dacrate for common sample rates and mclk frequencies. system clock frequency (mhz) 128fs 192fs 256fs 384fs 512fs 768fs sampling rate (daclrc/ adclrc) dacrate =000 dacrate =001 adcrate/ dacrate =010 adcrate/ dacrate =011 adcrate/ dacrate =100 adcrate/ dacrate =101 32khz 4.096 6.144 8.192 12.288 16.384 24.576 44.1khz 5.6448 8.467 11.2896 16.9340 22.5792 33.8688 48khz 6.144 9.216 12.288 18.432 24.576 36.864 96khz 12.288 18.432 24.576 36.864 unavailable unavailable 192khz 24.576 36.864 unavailable unavailable unavailable unavailable table 7 master mode adc/daclrc frequency selection
WM8774 product preview   pp rev 1.0 june 2002 14 bclk is also generated by the WM8774. the frequency of bclk depends on the mode of operation. in 128/192fs modes (dacrate=000 or 001) bclk = mclk/2. in 256/384/512fs modes (adcrate/dacrate=010 or 011, 100 or 101) bclk = mclk/4. however if dsp mode is selected as the audio interface mode then bclk=mclk. this is to ensure that there are sufficient bclks to clock in all eight channels. note that dsp mode cannot be used in 128fs mode for word lengths greater than 16 bits or in 192fs mode for word lengths greater than 24 bits. zero detect the WM8774 has a zero detect circuit for each channel, which detects when 1024 consecutive zero samples have been input. two zero flag outputs (zflagl and zflagr) may be programmed to output the zero detect signals (see table 8) which may then be used to control external muting circuits. a ? 1 ? on zflagl or zflagr indicates a zero detect. the zero detect may also be used to automatically enable the pga mute by setting izd. the zero flag output may be disabled by setting dzfm to 00. the zero flag signal for each dac channel will only be enabled if that channel is enabled as an input to the output summing stage. dzfm[1:0] zflagl zflagr 00 zero flag disabled zero flag disabled 01 both channels zero both channels zero 10 left channel zero right channel zero 11 both channels zero - table 8 zero flag output select powerdown modes the WM8774 has powerdown control bits allowing specific parts of the WM8774 to be powered off when not being used. the 8-channel input source selector and input buffer may be powered down using control bit ainpd. when ainpd is set all inputs to the source selector (ain1l/r to ain8l/r) are switched to a buffered vmidadc. control bit adcpd powers off the adc and also the adc input pgas. the four stereo dacs each have a separate powerdown control bit, dacpd allowing individual stereo dacs to be powered off when not in use. the analogue output mixers and evrs may also be powered down by setting outpd. outpd also switches the analogue outputs voutl/r to vmiddac to maintain a dc level on the output. setting ainpd, adcpd, dacpd and outpd will powerdown everything except the references vmidadc, adcref and vmiddac. these may be powered down by setting pdwn. setting pdwn will override all other powerdown control bits. it is recommended that the 8-channel input mux and buffer, adc, dac, output mixer and evr are powered down before setting pdwn. the default is for all powerdown bits to be set except pdwn. the powerdown control bits allow parts of the device to be powered down when not in use. for example, if only an analogue bypass path from ainl/r to voutl/r is required the adcpd and dacpd control bits may be set, leaving the analogue input and analogue output powered up. digital audio interface master and slave modes the audio interface operates in either slave or master mode, selectable using the ms control bit. in both master and slave modes dacdat is always an input to the WM8774 and adcdat is always an output. the default is slave mode. in slave mode (ms=0) adclrc, daclrc and bclk are inputs to the WM8774 (figure 7). din, adclrc and daclrc are sampled by the WM8774 on the rising edge of bclk. adc data is output on dout and changes on the falling edge of bclk. by setting control bit bclkinv the polarity of bclk may be reversed so that din, adclrc and daclrc are sampled on the falling edge of bclk and dout changes on the rising edge of bclk.
product preview WM8774   pp rev 1.0 june 2002 15 bclk dout adclrc din daclrc WM8774 codec dvd controller figure 7 slave mode in master mode (ms=1) adclrc, daclrc and bclk are outputs from the WM8774 (figure 8). adclrc, daclrc and bitclk are generated by the WM8774. din is sampled by the WM8774 on the rising edge of bclk so the controller must output dac data that changes on the falling edge of bclk. adcdat is output on dout and changes on the falling edge of bclk. by setting control bit bclkinv the polarity of bclk may be reversed so that din is sampled on the falling edge of bclk and dout changes on the rising edge of bclk. bclk dout adclrc din daclrc WM8774 codec dvd controller figure 8 master mode audio interface formats audio data is applied to the internal dac filters, or output from the adc filters, via the digital audio interface. 5 popular interface formats are supported: ? left justified mode ? right justified mode ? i 2 s mode ? dsp early mode ? dsp late mode all 5 formats send the msb first and support word lengths of 16, 20, 24 and 32 bits, with the exception of 32 bit right justified mode, which is not supported. in left justified, right justified and i 2 s modes, the digital audio interface receives dac data on the din inputs and outputs adc data on dout. audio data for each stereo channel is time multiplexed with adclrc/daclrc indicating whether the left or right channel is present. adclrc/daclrc is also used as a timing reference to indicate the beginning or end of the data words.
WM8774 product preview   pp rev 1.0 june 2002 16 in left justified, right justified and i 2 s modes, the minimum number of bclks per daclrc/adclrc period is 2 times the selected word length. adclrc/daclrc must be high for a minimum of word length bclks and low for a minimum of word length bclks. any mark to space ratio on adclrc/daclrc is acceptable provided the above requirements are met. in dsp early or dsp late mode, multiple dacs channel can be time multiplexed onto din. daclrc is used as a frame sync signal to identify the msb of the first word. the minimum number of bclks per daclrc period is 8 times the selected word length. any mark to space ratio is acceptable on daclrc provided the rising edge is correctly positioned. the adc data may also be output in dsp early or late modes, with adclrc used as a frame sync to identify the msb of the first word. the minimum number of bclks per adclrc period is 2 times the selected word length left justified mode in left justified mode, the msb of din is sampled by the WM8774 on the first rising edge of bclk following a daclrc transition. the msb of the adc data is output on dout and changes on the same falling edge of bclk as adclrc and may be sampled on the rising edge of bclk. adclrc and daclrc are high during the left samples and low during the right samples (figure 9). left channel right channel daclrc/ adclrc bclk din/ dout 1/fs n 3 2 1 n-2 n-1 lsb msb n 3 2 1 n-2 n-1 lsb msb figure 9 left justified mode timing diagram right justified mode in right justified mode, the lsb of din is sampled by the WM8774 on the rising edge of bclk preceding a daclrc transition. the lsb of the adc data is output on dout and changes on the falling edge of bclk preceding an adclrc transition and may be sampled on the rising edge of bclk. adclrc and daclrc are high during the left samples and low during the right samples ( figure 10). left channel right channel daclrc/ adclrc bclk din/ dout 1/fs n 3 2 1 n-2 n-1 lsb msb n 3 2 1 n-2 n-1 lsb msb figure 10 right justified mode timing diagram
product preview WM8774   pp rev 1.0 june 2002 17 i 2 s mode in i 2 s mode, the msb of din is sampled by the WM8774 on the second rising edge of bclk following a daclrc transition. the msb of the adc data is output on dout and changes on the first falling edge of bclk following an adclrc transition and may be sampled on the rising edge of bclk. adclrc and daclrc are low during the left samples and high during the right samples. left channel right channel daclrc/ adclrc bclk din/ dout 1/fs n 3 2 1 n-2 n-1 lsb msb n 3 2 1 n-2 n-1 lsb msb 1 bclk 1 bclk figure 11 i 2 s mode timing diagram dsp early mode in dsp early mode, the msb of dac channel left data is sampled by the WM8774 on the second rising edge on bclk following a daclrc rising edge (figure 12). daclrc bck din word length (iwl) 1/fs channel left n 2 1 n-1 lsb msb n 2 1 n-1 channel right no valid data 1 bclk 1 bclk figure 12 dsp early mode timing diagram ? dac data input the msb of the left channel adc data is output on dout and changes on the first falling edge of bclk following a low to high adclrc transition and may be sampled on the rising edge of bclk. the right channel adc data is contiguous with the left channel data (figure 13) adclrc bck dout input word length (iwl) 1/fs left channel n 2 1 n-1 lsb msb n 2 1 n-1 right channel no valid data 1 bclk 1 bclk figure 13 dsp early mode timing diagram ? adc data output
WM8774 product preview   pp rev 1.0 june 2002 18 dsp late mode in dsp late mode, the msb of dac channel left data is sampled by the WM8774 on the first bclk rising edge following a daclrc rising edge (figure 14). daclrc bck din word length (wl) 1/fs channel left n 2 1 n-1 lsb msb n 2 1 n-1 channel right no valid data 1 figure 14 dsp late mode timing diagram ? dac data input the msb of the left channel adc data is output on dout and changes on the same falling edge of bclk as the low to high adclrc transition and may be sampled on the rising edge of bclk. the right channel adc data is contiguous with the left channel data (figure 15). adclrc bck dout word length (wl) 1/fs left channel n 2 1 n-1 lsb msb n 2 1 n-1 right channel no valid data 1 figure 15 dsp late mode timing diagram ? adc data output in both early and late dsp modes, dacl is always sent first, followed immediately by dacr. no bclk edges are allowed between the data words. control interface operation the WM8774 is controlled using a 3-wire serial interface a spi compatible. the control interface is 5v tolerant, meaning that the control interface input signals ce, cl and di may have an input high level of 5v while dvdd is 3v. input thresholds are determined by dvdd. resetb is also 5v tolerant. 3-wire (spi compatible) serial control mode di is used for the program data, cl is used to clock in the program data and ce is used to latch the program data. di is sampled on the rising edge of cl. the 3-wire interface protocol is shown in figure 16.
product preview WM8774   pp rev 1.0 june 2002 19 b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 ce cl di figure 16 3-wire spi compatible interface 1. b[15:9] are control address bits 2. b[8:0] are control data bits 3. ce is edge sensitive ? the data is latched on the rising edge of ce. control interface registers digital audio interface control register interface format is selected via the fmt[1:0] register bits: register address bit label default description 10110 interface control 1:0 fmt[1:0] 10 interface format select 00 : right justified mode 01: left justified mode 10: i 2 s mode 11: dsp (early or late) mode in left justified, right justified or i 2 s modes, the lrp register bit controls the polarity of adclrc/daclrc. if this bit is set high, the expected polarity of adclrc/daclrc will be the opposite of that shown, figure 10 and. note that if this feature is used as a means of swapping the left and right channels, a 1 sample phase difference will be introduced. in dsp modes, the lrp register bit is used to select between early and late modes. register address bit label default description in left/right/ i 2 s modes: adclrc/daclrc polarity (normal) 0 : normal adclrc/daclrc polarity 1: inverted adclrc/daclrc polarity 10110 interface control 2 lrp 0 in dsp mode: 0 : early dsp mode 1: late dsp mode by default, adclrc/daclrc and din is sampled on the rising edge of bclk and should ideally change on the falling edge. data sources that change adclrc/daclrc and din on the rising edge of bclk can be supported by setting the bcp register bit. setting bcp to 1 inverts the polarity of bclk to the inverse of that shown in, figure 10, figure 11, figure 12, figure 13, figure 14 and figure 15. register address bit label default description 10110 interface control 3 bcp 0 bclk polarity (dsp modes) 0 : normal bclk polarity 1: inverted bclk polarity
WM8774 product preview   pp rev 1.0 june 2002 20 the wl[1:0] bits are used to control the input word length. register address bit label default description 10110 interface control 5:4 wl[1:0] 10 input word length 00 : 16 bit data 01: 20 bit data 10: 24 bit data 11: 32 bit data note: if 32-bit mode is selected in right justified mode, the WM8774 defaults to 24 bits. in all modes, the data is signed 2 ? s complement. the digital filters always input 24-bit data. if the dac is programmed to receive 16 or 20 bit data, the WM8774 pads the unused lsbs with zeros. if the dac is programmed into 32 bit mode, the 8 lsbs are ignored. note: in 24 bit i 2 s mode, any width of 24 bits or less is supported provided that adclrc/daclrc is high for a minimum of 24 bclks and low for a minimum of 24 bclks. a number of options are available to control how data from the digital audio interface is applied to the dac channels. control bit ms selects between audio interface master and slave modes. in master mode adclrc, daclrc and bclk are outputs and are generated by the WM8774. in slave mode adclrc, daclrc and bclk are inputs to WM8774. register address bit label default description 10111 interface control 8 ms 0 audio interface master/slave mode select: 0 : slave mode 1: master mode master mode adclrc/daclrc frequency select in master mode the WM8774 generates adclrc, daclrc and bclk. these clocks are derived from master clock and the ratio of mclk to adclrc and daclrc are set by adcrate and dacrate. register address bit label default description 2:0 adcrate[2:0] 010 master mode mclk:adclrc ratio select: 010: 256fs 011: 384fs 100: 512fs 101: 768fs 10111 adclrc and daclrc frequency select 6:4 dacrate[2:0] 010 master mode mclk:daclrc ratio select: 000: 128fs 001: 192fs 010: 256fs 011: 384fs 100: 512fs 101: 768fs
product preview WM8774   pp rev 1.0 june 2002 21 adc oversampling rate select for adc operation at 96khz, it is recommended that the user set the adcosr bit. this changes the adc signal processing oversample rate to 64fs. register address bit label default description 10111 adc oversampling rate 3 adcosr 0 adc oversampling rate select 0: 128x oversampling 1: 64x oversampling mute modes setting dmute will apply a ? soft ? mute to the input of the dac digital filters. register address bit label default description 10100 dac mute 0 dmute 0 dac soft mute select 0 : normal operation 1: soft mute enabled figure 17 application and release of soft mute figure 17 shows the application and release of dmute whilst a full amplitude sinusoid is being played at 48khz sampling rate. when dmute (lower trace) is asserted, the output (upper trace) begins to decay exponentially from the dc level of the last input sample. the output will decay towards v mid with a time constant of approximately 64 input samples. if dmute is applied for 1024 or more input samples, the dac will be muted if izd is set. when dmute is de-asserted, the output will restart immediately from the current input sample. note that all other means of muting the dac channels: setting the pl[3:0] bits to 0, setting the pdwn bit or setting attenuation to 0 will cause much more abrupt muting of the output. -2.5 -2 -1.5 -1 -0.5 0 0.5 1 1.5 0 0.001 0.002 0.003 0.004 0.005 0.006 time(s)
WM8774 product preview   pp rev 1.0 june 2002 22 each adc channel also has an individual mute control bit, which mutes the input to the adc. in addition both channels may be muted by setting adcmute. register address bit label default description 11001 adc mute 7 adcmute 0 adc mute left and right 0 : normal operation 1: mute adc left and adc right 11001 adc mute left 5 mute 0 adc mute select 0 : normal operation 1: mute adc left 11010 adc mute right 5 mute 0 adc mute select 0 : normal operation 1: mute adc right the record outputs may be enabled by setting recen, where recen enables the recl and recr outputs. register address bit label default description 10100 rec enable 5 recen 0 rec output enable 0 : rec output muted 1: rec output enabled de-emphasis mode a digital de-emphasis filter may be applied to the dac. the de-emphasis filter for each stereo channel is enabled under the control of deemp. register address bit label default description 10101 dac de-emphasis control 0 deemph 0 de-emphasis mode select: 0 : normal mode 1: de-emphasis mode refer to figure 26, figure 27, figure 28, figure 29, figure 30 and figure 31 for details of the de- emphasis modes at different sample rates. powerdown mode and adc/dac disable setting the pdwn register bit immediately powers down the WM8774, including the references, overriding all other powerdown control bits. all trace of the previous input samples are removed, but all control register settings are preserved. when pdwn is cleared the digital filters will be reinitialised. it is recommended that the 8-channel input mux and buffer, adc, dac and output mixers and evrs are powered down before setting pdwn. register address bit label default description 11000 powerdown control 0 pdwn 0 power down mode select: 0 : normal mode 1: power down mode the adc and dacs may also be powered down by setting the adcd and dacd disable bits. setting adcd will disable the adc and select a low power mode. the adc digital filters will be reset and will reinitialise when adcd is reset. setting dacd disable the dac and select a low power mode. resetting dacd will reinitialise the digital filters. register address bit label default description 1 adcd 1 adc disable: 0 : normal mode 1: power down mode 11000 powerdown control 2 dacd 1111 dac disable: 0 : normal mode 1: power down mode
product preview WM8774   pp rev 1.0 june 2002 23 attenuator control mode setting the atc register bit causes the left channel attenuation settings to be applied to both left and right channel dacs from the next audio input sample. no update to the attenuation registers is required for atc to take effect. register address bit label default description 10011 dac channel control 1 atc 0 attenuator control mode: 0 : right channels use right attenuations 1: right channels use left attenuations infinite zero detect enable setting the izd register bit will enable the internal infinite zero detect function: register address bit label default description 10011 dac channel control 2 izd 0 infinite zero mute enable 0 : disable infinite zero mute 1: enable infinite zero mute with izd enabled, applying 1024 consecutive zero input samples to both dac channels will cause the outputs to be muted. mute will be removed as soon as any channel receives a non-zero input. dac output control the dac output control word determines how the left and right inputs to the audio interface are applied to the left and right dacs: register address bit label default description pl[3:0] left output right output 0000 mute mute 0001 left mute 0010 right mute 0011 (l+r)/2 mute 0100 mute left 0101 left left 0110 right left 0111 (l+r)/2 left 1000 mute right 1001 left right 1010 right right 1011 (l+r)/2 right 1100 mute (l+r)/2 1101 left (l+r)/2 1110 right (l+r)/2 10011 dac control 7:4 pl[3:0] 1001 1111 (l+r)/2 (l+r)/2
WM8774 product preview   pp rev 1.0 june 2002 24 dac analogue volume control the dac volume may be adjusted independently in both the analogue and digital domain using separate volume control registers. register address bit label default description 6:0 la[6:0] 1111111 (0db) attenuation data for left channel dacl in 1db steps. see table 10 7 lzcen 0 dacl zero cross detect enable 0: zero cross disabled 1: zero cross enabled 00000 analogue attenuation dacl 8 update not latched controls simultaneous update of all attenuation latches 0: store la in intermediate latch (no change to output) 1: store la and update attenuation on all channels. 6:0 ra[6:0] 1111111 (0db) attenuation data for right channel dacr in 1db steps. see table 10 7 rzcen 0 dacr zero cross detect enable 0: zero cross disabled 1: zero cross enabled 00001 analogue attenuation dacr 8 update not latched controls simultaneous update of all attenuation latches 0: store ra in intermediate latch (no change to output) 1: store ra and update attenuation on all channels. 6:0 masta[6:0] 1111111 (0db) attenuation data for all channel dac in 1db steps. see table 10 7 mzcen 0 master zero cross detect enable 0: zero cross disabled 1: zero cross enabled 01000 master analogue attenuation (both channels) 8 update not latched controls simultaneous update of all attenuation latches 0: store gain in intermediate latch (no change to output) 1: store gain and update attenuation on all channels. table 9 attenuation register map each dac channel volume can be controlled digitally in an analogue volume stage after the dac. attenuation is 0db by default but can be set between 0 and ? 100db in 1db steps using the 7 attenuation control words. all attenuation registers are double latched allowing new values to be pre- latched to several channels before being updated synchronously. setting the update bit on any attenuation write will cause all pre-latched values to be immediately applied to the dac channels. a master attenuation register is also included, allowing all volume levels to be set to the same value in a single write. note: the update bit is not latched. if update=0, the attenuation value will be written to the pre- latch but not applied to the relevant dac. if update=1, all pre-latched values will be applied from the next input sample. writing to masta[6:0] overwrites any values previously sent to la[6:0] and ra[6:0]. in addition a zero cross detect circuit is provided for each dac volume under the control of bit 7 (xzcen) in each dac attenuation register. when zcen is set the attenuation values are only updated when the input signal to the gain stage is close to the analogue ground level. this minimises audible clicks and ? zipper ? noise as the gain values change. a timeout clock is also provided which will generate an update after a minimum of 131072 master clocks (= ~10.5ms with a master clock of 12.288mhz). the timeout clock may be disabled by setting tod.
product preview WM8774   pp rev 1.0 june 2002 25 bit label default description 10011 timeout clock disable 3 tod 0 dac analogue zero cross detect timeout disable 0 : timeout enabled 1: timeout disabled dac analogue output attenuation register bits la and ra control the left and right channel attenuation of dac. register bits masta can be used to control attenuation of both channels. table 8 shows how the attenuation levels are selected from the 7-bit words. l/ra[6:0] attenuation level 00(hex) - db (mute) : : 1a(hex) - db (mute) 1b(hex) -100db : : 7d(hex) -2db 7e(hex) -1db 7f(hex) 0db table 10 analogue volume control attenuation levels dac digital volume control the dac volume may also be adjusted in the digital domain using independent digital attenuation control registers register address bit label default description 7:0 lda[7:0] 11111111 (0db) digital attenuation data for left channel dacl in 0.5db steps. see table 11 01001 digital attenuation dacl 8 update not latched controls simultaneous update of all attenuation latches 0: store lda in intermediate latch (no change to output) 1: store lda and update attenuation on all channels 7:0 rda[6:0] 11111111 (0db) digital attenuation data for right channel dacr in 0.5db steps. see table 11 01010 digital attenuation dacr 8 update not latched controls simultaneous update of all attenuation latches 0: store rda in intermediate latch (no change to output) 1: store rda and update attenuation on all channels. 7:0 astda[7:0] 11111111 (0db) digital attenuation data for both dac channels in 0.5db steps. see table 11 10001 master digital attenuation (both channels) 8 update not latched controls simultaneous update of all attenuation latches 0: store gain in intermediate latch (no change to output) 1: store gain and update attenuation on all channels.
WM8774 product preview   pp rev 1.0 june 2002 26 l/rdax[7:0] attenuation level 00(hex) - db (mute) 01(hex) -127.5db : : : : : : fe(hex) -0.5db ff(hex) 0db table 11 digital volume control attenuation levels the digital volume control also incorporates a zero cross detect circuit which detects a transition through the zero point before updating the digital volume control with the new volume. this is enabled by control bit dzcen. register address bit label default description 10011 dac control 0 dzcen 0 dac digital volume zero cross enable: 0: zero cross detect disabled 1: zero cross detect enabled dac output phase the dac phase control word determines whether the output of each dac is non-inverted or inverted register address bit label default description bit dac phase 0 dacl 1 = invert 10010 dac phase 1:0 ph[1:0] 00 1 dacr 1 = invert adc gain control control bits lag[4:0] and rag[4:0] control the adc input gain, allowing the user to attenuate the adc input signal to match the full-scale range of the adc. the gain is independently adjustable on left and right inputs. left and right inputs may also be independently muted. the lrboth control bit allows the user to write the same attenuation value to both left and right volume control registers. the adc volume and mute also applies to the bypass signal path. register address bit label default description 4:0 lag[4:0] 01100 (0db) attenuation data for left channel adc gain in 1db steps. see table 12 5 mute 0 mute for left channel adc: 0: mute off 1: mute on 11001 attenuation adcl 6 lrboth 0 setting lrboth will write the same gain value to lag[4:0] and rag[4:0] 4:0 rag[4:0] 01100 (0db) attenuation data for right channel adc gain in 1db steps. see table 12 5 mute 0 mute for right channel adc: 0: mute off 1: mute on 11010 attenuation adcr 6 lrboth 0 setting lrboth will write the same gain value to rag[4:0] and lag[4:0]
product preview WM8774   pp rev 1.0 june 2002 27 adc input gain registers lag and rag control the left and right channel gain into the stereo adc in 1db steps from +19db to ? 12db table 8 shows how the attenuation levels are selected from the 5-bit words. l/rag[6:0] attenuation level 0 -12db : : 01100 0db : : 11111 +19db table 12 adc gain control adc highpass filter disable the adc digital filters contain a digital highpass filter. this defaults to enabled and can be disabled using software control bit adchpd. register address bit label default description 10110 adc control 8 adchpd 0 adc highpass filter disable: 0: highpass filter enabled 1: highpass filter disabled adc input mux and powerdown control register address bit label default description 2:0 lmx[2:0] 000 adc left channel input mux control bits (see table 13) 6:4 rmx[2:0] 000 adc right channel input mux control bits (see table 13) 11011 adc mux and powerdown control 8 ainpd 1 input mux and buffer powerdown 0: input mux and buffer enabled 1: input mux and buffer powered down register bits lmx and rmx control the left and right channel inputs into the stereo adc. the default is ain1. however if the analogue input buffer is powered down, by setting ainpd, then all 8-channel mux inputs are switched to buffered vmidadc. lmx[2:0] left adc input rmx[2:0] right adc input 000 ain1l 000 ain1r 001 ain2l 001 ain2r 010 ain3l 010 ain3r 011 ain4l 011 ain4r 100 ain5l 100 ain5r 101 ain6l 101 ain6r 110 ain7l 110 ain7r 111 ain8l 111 ain8r table 13 adc input mux control
WM8774 product preview   pp rev 1.0 june 2002 28 output select and enable control register bits mx controls the output selection. the output select block consists of a summing stage and an input select switch for each input allowing each signal to be output individually or summed with other signals and output on the analogue output. the default for the output is dac playback only. vout may be selected to output dac playback, aux, analogue bypass or a sum of these using the output select controls mx[2:0]. for example, to select sum of dac and aux, set mx[2:0] to 110. the output mixer and evr can be powered down under control of outpd. setting outpd will power off the mixer and evr and switch the analogue outputs voutl/r to vmiddac to maintain a dc level on the output. register address bit label default description 2:0 mx[2:0] 001 (dac playback) vout output select (see figure 18) 11100 output mux and powerdown control 7 outpd 1 mixer and evr powerdown select 0: mixer and evr enabled 1: mixer and evr powered down mx[2:0] selects the output for vout. figure 18 mx[2:0] output select software register reset writing to register 11111 will cause a register reset, resetting all register bits to their default values. mx[0] mx[1] mx[2] dac aux bypass vout
product preview WM8774   pp rev 1.0 june 2002 29 register map the complete register map is shown below. the detailed description can be found in the relevant text of the device description. the WM8774 can be configured using the control interface. all unused bits should be set to ? 0 ? . register b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 default r0(00h) 0 0 0 0 0 0 0 update lzcen la[6:0] x01111111 r1(01h) 0 0 0 0 0 0 1 update rzcen ra[6:0] x01111111 r8(08h) 0 0 0 1 0 0 0 update mzcen masta[6:0] x01111111 r9(09h) 0 0 0 1 0 0 1 update lda[7:0] x11111111 r10(0ah) 0 0 0 1 0 1 0 update rda[7:0] x11111111 r17(11h) 0 0 1 0 0 0 1 update mastda[7:0] x11111111 r18(12h) 0 0 1 0 0 1 0 x phase[7:0] 000000000 r19(13h) 0 0 1 0 0 1 1 x pl tod izd atc dzcen 010010000 r20(14h) 0 0 1 0 1 0 0 x x x recen x x x x dmute 000000000 r21(15h) 0 0 1 0 1 0 1 x x x x x x x x deem p 000000000 r22(16h) 0 0 1 0 1 1 0 adchpd x x wl[1:0] bcp lrp fmt[1:0] 000100010 r23(17h) 0 0 1 0 1 1 1 ms x dacrate[2:0] adcos r adcrate[2:0] 000010010 r24(18h) 0 0 1 1 0 0 0 x x x x x x dacd adcd pwdn 000111110 r25(19h) 0 0 1 1 0 0 1 x adcmute lrboth mute lag[4:0] 000001100 r26(1ah) 0 0 1 1 0 1 0 x x lrboth mute rag[4:0] 000001100 r27(1bh) 0 0 1 1 0 1 1 ainpd 0 rmx[2:0] x lmx[2:0] 100000000 r28(1ch) 0 0 1 1 1 0 0 x outpd x x x x mx[2:0] 110001001 r31(1fh) 0 0 1 1 1 1 1 reset not reset address data default
WM8774 product preview   pp rev 1.0 june 2002 30 register address bit label default description 6:0 la[6:0] 1111111 (0db) attenuation data for left channel dacl in 1db steps. see table 10 7 lzcen 0 dacl zero cross detect enable 0: zero cross disabled 1: zero cross enabled 00000 analogue attenuation dacl 8 update not latched controls simultaneous update of all attenuation latches 0: store dacl in intermediate latch (no change to output) 1: store dacl and update attenuation on all channels. 6:0 ra[6:0] 1111111 (0db) attenuation data for right channel dacr in 1db steps. see table 10 7 rzcen 0 dacr zero cross detect enable 0: zero cross disabled 1: zero cross enabled 00001 analogue attenuation dacr 8 update not latched controls simultaneous update of all attenuation latches 0: store dacr in intermediate latch (no change to output) 1: store dacr and update attenuation on all channels. 6:0 masta[6:0] 1111111 (0db) attenuation data for all dac gains in 1db steps. see table 10 7 mzcen 0 master zero cross detect enable 0: zero cross disabled 1: zero cross enabled 01000 analogue master attenuation (both channels) 8 update not latched controls simultaneous update of all attenuation latches 0: store gains in intermediate latch (no change to output) 1: store gains and update attenuation on all channels. 7:0 lda[7:0] 11111111 (0db) digital attenuation data for left channel dacl in 0.5db steps. see table 11 01001 digital attenuation dacl 8 update not latched controls simultaneous update of all attenuation latches 0: store lda in intermediate latch (no change to output) 1: store lda and update attenuation on all channels 7:0 rda[6:0] 11111111 (0db) digital attenuation data for right channel dacr in 0.5db steps. see table 11 01010 digital attenuation dacr 8 update not latched controls simultaneous update of all attenuation latches 0: store rda in intermediate latch (no change to output) 1: store rda and update attenuation on all channels. 7:0 mastda[7:0] 11111111 (0db) digital attenuation data for both dac channels in 0.5db steps. see table 11 10001 master digital attenuation (both channels) 8 update not latched controls simultaneous update of all attenuation latches 0: store gain in intermediate latch (no change to output) 1: store gain and update attenuation on all channels. 10010 phase swaps 1:0 ph 00 controls phase of dac outputs 0: sets non inverted output phase 1: inverts phase of dac output
product preview WM8774   pp rev 1.0 june 2002 31 register address bit label default description 0 dzcen 0 dac digital volume zero cross enable: 0: zero cross detect disabled 1: zero cross detect enabled 1 atc 0 attenuator control 0: all dacs use attenuations as programmed. 1: right channel dacs use corresponding left dac attenuations 2 izd 0 infinite zero detection circuit control and automute control 0: infinite zero detect automute disabled 1: infinite zero detect automute enabled 3 tod 0 dac analogue zero cross detect timeout disable 0 : timeout enabled 1: timeout disabled dac output control pl[3:0] left output right output pl[3:0] left output right output 0000 mute mute 1000 mute right 0001 left mute 1001 left right 0010 right mute 1010 right right 0011 (l+r)/2 mute 1011 (l+r)/2 right 0100 mute left 1100 mute (l+r)/2 0101 left left 1101 left (l+r)/2 0110 right left 1110 right (l+r)/2 10011 dac control 7:4 pl[3:0] 1001 0111 (l+r)/2 left 1111 (l+r)/2 (l+r)/2 0 dmute 0 dac channel soft mute enables: 0: mute disabled 1: mute enabled 10100 dac mute 5 recen 0 rec output enable 0 : rec output muted 1: rec output enabled 10101 dac control 3:0 deemp 0 de-emphasis mode select: 0 : normal mode 1: de-emphasis mode 1:0 fmt[1:0] 10 interface format select 00: right justified mode 01: left justified mode 10: i 2 s mode 11: dsp mode adclrc/daclrc polarity or dsp early/late mode select 10110 interface control 2 lrp 0 left justified / right justified / i 2 s 0: standard daclrc polarity 1: inverted daclrc polarity dsp mode 0: early dsp mode 1: late dsp mode
WM8774 product preview   pp rev 1.0 june 2002 32 register address bit label default description 3 bcp 0 bitclk polarity 0: normal - din, daclrc & adclrc sampled on rising edge of bclk; dout changes on falling edge of bclk. 1: inverted - din, daclrc & adclrc sampled on falling edge of bclk; dout changes on rising edge of bclk. 5:4 wl[1:0] 10 input word length 00: 16-bit mode 01: 20-bit mode 10: 24-bit mode 11: 32-bit mode (not supported in right justified mode) 8 adchpd 0 adc highpass filter disable: 0: highpass filter enabled 1: highpass filter disabled 2:0 adcrate[2:0] 010 master mode mclk:adclrc ratio select: 010: 256fs 011: 384fs 100: 512fs 3 adcosr 0 adc oversample rate select 0: 128x oversampling 1: 64x oversampling 6:4 dacrate[2:0] 010 master mode mclk:daclrc ratio select: 000: 128fs 001: 192fs 010: 256fs 011: 384fs 100: 512fs 10111 master mode control 8 ms 0 maser/slave interface mode select 0: slave mode ? adclrc, daclrc and bclk are inputs 1: master mode ? adclrc, daclrc and bclk are outputs 0 pwdn 0 chip powerdown control (works in tandem with adcd and dacd): 0: all circuits running, outputs are active 1: all circuits in power save mode, outputs muted 1 adcd 1 adc powerdown: 0: adc enabled 1: adc disabled 11000 powerdown control 2 dacd 1 dac powerdown 0: dac enabled 1: dac disabled 4:0 lag[4:0] 01100 (0db) attenuation data for left channel adc gain in 1db steps 5 mute 0 mute for left channel adc: 0: mute off 1: mute on 6 lrboth 0 setting lrboth will write the same gain value to lag[4:0] and rag[4:0] 11001 attenuation adcl 7 adcmute 0 mute for left and right channel adc: 0: mute off 1: mute on
product preview WM8774   pp rev 1.0 june 2002 33 register address bit label default description 4:0 rag[4:0] 01100 (0db) attenuation data for right channel adc gain in 1db steps 5 mute 0 mute for right channel adc: 0: mute off 1: mute on 11010 attenuation adcr 6 lrboth 0 setting lrboth will write the same gain value to rag[4:0] and lag[4:0] 2:0 lmx[2:0] 000 adc left channel input mux control bits 6:4 rmx[2:0] 000 adc right channel input mux control bits 11011 adc mux control 8 ainpd 1 2:0 mx[2:0] 001 vout1 output select (see figure 18) 11100 output mux and powerdown control 8:7 outpd 1 mixer and evr powerdown select 0: mixer and evr enabled 1: mixer and evr powered down 11111 software reset [8:0] reset not reset writing to this register will apply a reset to the device registers. table 14 register map description
WM8774 product preview   pp rev 1.0 june 2002 34 digital filter characteristics parameter test conditions min typ max unit adc filter 0.01 db 0 0.4535fs passband -6db 0.5fs passband ripple 0.01 db stopband 0.5465fs stopband attenuation f > 0.5465fs -65 db group delay 22 fs dac filter 0.05 db 0.444fs passband -3db 0.487fs passband ripple 0.05 db stopband 0.555fs stopband attenuation f > 0.555fs -60 db group delay 16 fs table 15 digital filter characteristics
product preview WM8774   pp rev 1.0 june 2002 35 dac filter responses -120 -100 -80 -60 -40 -20 0 0 0.5 1 1.5 2 2.5 3 response (db) frequency (fs) figure 19 dac digital filter frequency response ? 44.1, 48 and 96khz -0.2 -0.15 -0.1 -0.05 0 0.05 0.1 0.15 0.2 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 response (db) frequency (fs) figure 20 dac digital filter ripple ? 44.1, 48 and 96khz -80 -60 -40 -20 0 0 0.2 0.4 0.6 0.8 1 response (db) frequency (fs) figure 21 dac digital filter frequency response ? 192khz -1 -0.8 -0.6 -0.4 -0.2 0 0.2 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 response (db) frequency (fs) figure 22 dac digital filter ripple - 192khz
WM8774 product preview   pp rev 1.0 june 2002 36 adc filter responses -80 -60 -40 -20 0 0 0.5 1 1.5 2 2.5 3 response (db) frequency (fs) figure 23 adc digital filter frequency response -0.02 -0.015 -0.01 -0.005 0 0.005 0.01 0.015 0.02 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 response (db) frequency (fs) figure 24 adc digital filter ripple adc high pass filter the WM8774 has a selectable digital highpass filter to remove dc offsets. the filter response is characterised by the following polynomial. figure 25 adc highpass filter response 1 - z -1 1 - 0.9995z -1 h(z) = -15 -10 -5 0 0 0.0005 0.001 0.0015 0.002 response (db) frequency (fs)
product preview WM8774   pp rev 1.0 june 2002 37 digital de-emphasis characteristics -10 -8 -6 -4 -2 0 0 2 4 6 8 10 12 14 16 response (db) frequency (khz) figure 26 de-emphasis frequency response (32khz) -3 -2.5 -2 -1.5 -1 -0.5 0 0.5 1 0 2 4 6 8 10 12 14 16 response (db) frequency (khz) figure 27 de-emphasis error (32khz) -10 -8 -6 -4 -2 0 0 5 10 15 20 response (db) frequency (khz) figure 28 de-emphasis frequency response (44.1khz) -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0 5 10 15 20 response (db) frequency (khz) figure 29 de-emphasis error (44.1khz) -10 -8 -6 -4 -2 0 0 5 10 15 20 response (db) frequency (khz) figure 30 de-emphasis frequency response (48khz) -1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1 0 5 10 15 20 response (db) frequency (khz) figure 31 de-emphasis error (48khz)
WM8774 product preview   pp rev 1.0 june 2002 38 ain1l 10k 10uf ain2l 10k 10uf ain3l 10k 10uf ain7l 10k 10uf ain8l 10k 10uf ain1r 10k 10uf ain2r 10k 10uf ain3r 10k 10uf ain7r 10k 10uf ain8r 10k 10uf source selector inputs ainvgr ainopr 5k ainvgl ainopl 5k external circuit configuration in order to allow the use of 2v rms and larger inputs to the adc and aux inputs, a structure is used that uses external resistors to drop these larger voltages. this also increases the robustness of the circuit to external abuse such as esd pulse. figure 32 shows the adc input multiplexor circuit with external components allowing 2vrms inputs to be applied. figure 32 adc input multiplexor confiuration dac aux bypass inputs 10k mx[0] mx[1] mx[2] 10k 10k 10k dacl/r bypassl/r auxl/r 10uf figure 33 5.1 channel input multiplexor configuration
product preview WM8774   pp rev 1.0 june 2002 39 recommended external components it is recommended that a lowpass filter be applied to the output from each dac channel for hi fi applications. typically a second order filter is suitable and provides sufficient attenuation of high frequency components (the unique low order, high bit count multi-bit sigma delta dac structure used in WM8774 produces much less high frequency output noise than competitors devices). this filter is typically also used to provide the 2x gain needed to provide the standard 2vrms output level from most consumer equipment. figure 34 shows a suitable post dac filter circuit, with 2x gain. alternative inverting filter architectures might also be used with as good results. + _ + +vs -vs 10uf 51 ? 7.5k ? 680pf 1.8k ? 47k ? 4.7k ? 4.7k ? 1.0nf figure 34 recommended post dac filter circuit
WM8774 product preview   pp rev 1.0 june 2002 40 package dimensions dm027.a ft: 64 pin tqfp (10 x 10 x 1.0 mm) 4 c l seating plane a2 a a1 ccc c -c- e 33 b 16 d1 e1 17 64 49 48 e d notes: a. all linear dimensions are in millimeters. b. this drawing is subject to change without notice. c. body dimensions do not include mold flash or protrusion, not to exceed 0.25mm. d. meets jedec.95 ms-026, variation = acd. refer to this specification for further details. symbols dimensions (mm) min nom max a ----- ----- 1.20 a 1 0.05 ----- 0.15 a 2 1.00 b 0.22 c ----- 0.20 d 12.00 bsc d 1 10.00 bsc e 12.00 bsc e 1 10.00 bsc e 0.50 bsc l 0.60 4 0 o 3.5 o 7 o tolerances of form and position ccc 0.08 ref: jedec.95, ms-026 0.95 0.17 0.09 0.27 1.05 0.45 0.75 1 32
product preview WM8774   pp rev 1.0 june 2002 41 important notice wolfson microelectronics ltd (wm) reserve the right to make changes to their products or to discontinue any product or service without notice, and advise customers to obtain the latest version of relevant information to verify, before placing orders, that information being relied on is current. all products are sold subject to the wm terms and conditions of sale supplied at the time of order acknowledgement, including those pertaining to warranty, patent infringement, and limitation of liability. wm warrants performance of its products to the specifications applicable at the time of sale in accordance with wm ? s standard warranty. testing and other quality control techniques are utilised to the extent wm deems necessary to support this warranty. specific testing of all parameters of each device is not necessarily performed, except those mandated by government requirements. in order to minimise risks associated with customer applications, adequate design and operating safeguards must be used by the customer to minimise inherent or procedural hazards. wm assumes no liability for applications assistance or customer product design. wm does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right of wm covering or relating to any combination, machine, or process in which such products or services might be or are used. wm ? s publication of information regarding any third party ? s products or services does not constitute wm ? s approval, license, warranty or endorsement thereof. reproduction of information from the wm web site or datasheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations and notices. representation or reproduction of this information with alteration voids all warranties provided for an associated wm product or service, is an unfair and deceptive business practice, and wm is neither responsible nor liable for any such use. resale of wm ? s products or services with statements different from or beyond the parameters stated by wm for that product or service voids all express and any implied warranties for the associated wm product or service, is an unfair and deceptive business practice, and wm is not responsible nor liable for any such use. address: wolfson microelectronics ltd 20 bernard terrace edinburgh eh8 9nx united kingdom tel :: +44 (0)131 272 7000 fax :: +44 (0)131 272 7001 email :: sales@wolfsonmicro.com
WM8774 product preview   pp rev 1.0 june 2002 42 revision history date rev originator changes


▲Up To Search▲   

 
Price & Availability of WM8774

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X